package com.offcn.sellergoods;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableEurekaClient  // 开启客户端
@MapperScan(basePackages = "com.offcn.sellergoods.dao")
@EnableSwagger2
public class SellergoodsApp {
    public static void main(String[] args) {
        SpringApplication.run(SellergoodsApp.class);
    }
}
